<script setup lang="ts">
import type { FormDesignerComponents } from "../FormComponentMixin";
const config = defineModel<FormDesignerComponents>("config");
</script>

<template>
  <el-form-item label="组件ID">
    <el-input v-model="config.id" placeholder="组件唯一ID" disabled />
  </el-form-item>
  <el-form-item label="组件类型">
    <el-input v-model="config.type" disabled />
  </el-form-item>
  <el-form-item label="组件编码">
    <el-input v-model="config.code" placeholder="请输入组件唯一值" />
  </el-form-item>
  <el-form-item label="组件名称">
    <el-input v-model="config.name" placeholder="请设置组件名称" />
  </el-form-item>
</template>

<style scoped></style>
